[INFO] fetching crate ra_ap_ide_assists 0.0.149...
[INFO] checking ra_ap_ide_assists-0.0.149 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate ra_ap_ide_assists 0.0.149 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate ra_ap_ide_assists 0.0.149 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ra_ap_ide_assists 0.0.149
[INFO] finished tweaking crates.io crate ra_ap_ide_assists 0.0.149
[INFO] tweaked toml for crates.io crate ra_ap_ide_assists 0.0.149 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dac9b187f180ffa74c0839ff05f3b31ce6f69407f593e6dcb539e51b3376a422
[INFO] running `Command { std: "docker" "start" "-a" "dac9b187f180ffa74c0839ff05f3b31ce6f69407f593e6dcb539e51b3376a422", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dac9b187f180ffa74c0839ff05f3b31ce6f69407f593e6dcb539e51b3376a422", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dac9b187f180ffa74c0839ff05f3b31ce6f69407f593e6dcb539e51b3376a422", kill_on_drop: false }`
[INFO] [stdout] dac9b187f180ffa74c0839ff05f3b31ce6f69407f593e6dcb539e51b3376a422
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a8a823f255e19e5a3d4ac33a6b4c6a2ba05098b4ea9563006916dc97a76543e
[INFO] running `Command { std: "docker" "start" "-a" "1a8a823f255e19e5a3d4ac33a6b4c6a2ba05098b4ea9563006916dc97a76543e", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking always-assert v0.1.3
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking ra_ap_stdx v0.0.149
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]     Checking perf-event-open-sys v4.0.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]     Checking text-size v1.1.0
[INFO] [stderr]     Checking ra_ap_la-arena v0.0.149
[INFO] [stderr]     Checking perf-event v0.4.8
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking rustc-ap-rustc_lexer v725.0.0
[INFO] [stderr]     Checking dashmap v5.4.0
[INFO] [stderr]    Compiling fst v0.4.7
[INFO] [stderr]     Checking drop_bomb v0.1.5
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking ra_ap_limit v0.0.149
[INFO] [stderr]     Checking ra_ap_parser v0.0.149
[INFO] [stderr]     Checking countme v3.0.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking parking_lot_core v0.8.6
[INFO] [stderr]     Checking cov-mark v2.0.0-pre.1
[INFO] [stderr]     Checking ra_ap_profile v0.0.149
[INFO] [stderr]     Checking rowan v0.15.11
[INFO] [stderr]     Checking dissimilar v1.0.6
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling salsa-macros v0.17.0-pre.2
[INFO] [stderr]     Checking ra_ap_paths v0.0.149
[INFO] [stderr]     Checking ra_ap_test_utils v0.0.149
[INFO] [stderr]    Compiling chalk-derive v0.88.0
[INFO] [stderr]     Checking ra_ap_vfs v0.0.149
[INFO] [stderr]     Checking fixedbitset v0.2.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking petgraph v0.5.1
[INFO] [stderr]     Checking ra_ap_text_edit v0.0.149
[INFO] [stderr]     Checking ra_ap_intern v0.0.149
[INFO] [stderr]     Checking ena v0.14.2
[INFO] [stderr]     Checking anymap v1.0.0-beta.2
[INFO] [stderr]     Checking hkalbasi-rustc-ap-rustc_index v0.0.20221221
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking rayon-core v1.11.0
[INFO] [stderr]     Checking expect-test v1.4.1
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking chalk-ir v0.88.0
[INFO] [stderr]     Checking salsa v0.17.0-pre.2
[INFO] [stderr]     Checking smol_str v0.1.24
[INFO] [stderr]     Checking ra_ap_tt v0.0.149
[INFO] [stderr]     Checking ra_ap_syntax v0.0.149
[INFO] [stderr]     Checking ra_ap_cfg v0.0.149
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]     Checking ra_ap_base_db v0.0.149
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking ra_ap_mbe v0.0.149
[INFO] [stderr]     Checking hkalbasi-rustc-ap-rustc_abi v0.0.20221221
[INFO] [stderr]     Checking chalk-solve v0.88.0
[INFO] [stderr]     Checking ra_ap_hir_expand v0.0.149
[INFO] [stderr]     Checking ra_ap_hir_def v0.0.149
[INFO] [stderr]     Checking chalk-recursive v0.88.0
[INFO] [stderr]     Checking ra_ap_hir_ty v0.0.149
[INFO] [stderr]     Checking ra_ap_hir v0.0.149
[INFO] [stderr]     Checking ra_ap_ide_db v0.0.149
[INFO] [stderr]     Checking ra_ap_ide_assists v0.0.149 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]  --> src/tests/sourcegen.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use test_utils::project_root;
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test_utils`
[INFO] [stdout]   --> src/tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use test_utils::{assert_eq_text, extract_offset};
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `test_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_text`
[INFO] [stdout]    --> src/tests.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     assert_eq_text!(&after, &actual);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_text`
[INFO] [stdout]    --> src/tests.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |             assert_eq_text!(after, &buf);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_text`
[INFO] [stdout]    --> src/tests.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |             assert_eq_text!(&text_without_caret[range], target);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let comment_blocks = sourcegen::CommentBlock::extract("Assist", &text);
[INFO] [stdout]    |                                  ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let buf = sourcegen::add_preamble("sourcegen_assists_docs", sourcegen::reformat(buf));
[INFO] [stdout]    |                   ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:42:69
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let buf = sourcegen::add_preamble("sourcegen_assists_docs", sourcegen::reformat(buf));
[INFO] [stdout]    |                                                                     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         sourcegen::ensure_file_contents(
[INFO] [stdout]    |         ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let contents = sourcegen::add_preamble(
[INFO] [stdout]    |                        ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |         for path in sourcegen::list_rust_files(&handlers_dir) {
[INFO] [stdout]    |                     ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/tests.rs:226:29
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let (before_cursor_pos, before) = extract_offset(before);
[INFO] [stdout]     |                             ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout]     = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]    --> src/tests/sourcegen.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let location = sourcegen::Location { file: path.to_path_buf(), line: block.line };
[INFO] [stdout]     |                                ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sourcegen`
[INFO] [stdout]   --> src/tests/sourcegen.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     location: sourcegen::Location,
[INFO] [stdout]    |               ^^^^^^^^^ use of undeclared crate or module `sourcegen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ra_ap_ide_assists` (lib test) due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1a8a823f255e19e5a3d4ac33a6b4c6a2ba05098b4ea9563006916dc97a76543e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a8a823f255e19e5a3d4ac33a6b4c6a2ba05098b4ea9563006916dc97a76543e", kill_on_drop: false }`
[INFO] [stdout] 1a8a823f255e19e5a3d4ac33a6b4c6a2ba05098b4ea9563006916dc97a76543e
